<html><head>
<?php
// Index page
// Is responsible for loading of the CSS, HTML and then placing all elements from a specific page/module onto the page.
?>
<body>
	<?php
	require('header.php');
	if ( isset($_GET['module']) == TRUE && isset( $_GET['action'] ) == TRUE )
	{ 
		$page = "modules/{$_GET['module']}/{$_GET['action']}";
		include("{$page}.php");
	}
	else
	{
		$home = "modules/{$myst['HomePage']['module']}/{$myst['HomePage']['action']}";
		include("{$home}.php");
	}
	?></div></div><?php
	include('footer.php');
	?>
